package com.jingyanzi.member.api;

import org.springframework.cloud.netflix.feign.FeignClient;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.jingyanzi.marketing.domain.PresentExchangeDo;


@FeignClient("marketing-service")
@RestController
@RequestMapping("/api")
public interface PresentExchangeCientAPI {

	@PostMapping("/present")
	public void add(@RequestBody PresentExchangeDo domain);
}
